import random
import pygame
# 屏幕的大小常量
SCREEN_RECT = pygame.Rect(0, 0, 480, 852)
# 帧率
FRAME_PER_SECOND = 60
# 敌机的定时器常量
CREATE_ENEMY_EVENT = pygame.USEREVENT
# 发射子弹的定时器常量
CREATE_HERO_EVENT = pygame.USEREVENT+1